package com.cssw.fyzb.core.model.dodb.base;

import com.ydn.dbframe.plugin.activerecord.Model;
import com.ydn.dbframe.plugin.activerecord.IBean;

/**
 *  do not modify this file.
 */
@SuppressWarnings("serial")
public abstract class BaseTeamLevelChange<M extends BaseTeamLevelChange<M>> extends Model<M> implements IBean {

	/**
	 * 团队异动标识
	 */
	public void setChangeId(java.lang.Long changeId) {
		set("change_id", changeId);
	}
	
	/**
	 * 团队异动标识
	 */
	public java.lang.Long getChangeId() {
		return getLong("change_id");
	}

	/**
	 * 用户标识
	 */
	public void setUserId(java.lang.Long userId) {
		set("user_id", userId);
	}
	
	/**
	 * 用户标识
	 */
	public java.lang.Long getUserId() {
		return getLong("user_id");
	}

	/**
	 * 异动前级别
	 */
	public void setOldTeamLevel(java.lang.Integer oldTeamLevel) {
		set("old_team_level", oldTeamLevel);
	}
	
	/**
	 * 异动前级别
	 */
	public java.lang.Integer getOldTeamLevel() {
		return getInt("old_team_level");
	}

	/**
	 * 团队级别
	 */
	public void setTeamLevel(java.lang.Integer teamLevel) {
		set("team_level", teamLevel);
	}
	
	/**
	 * 团队级别
	 */
	public java.lang.Integer getTeamLevel() {
		return getInt("team_level");
	}

	/**
	 * 异动类型(1-升级 2-降级)
	 */
	public void setChangeType(java.lang.String changeType) {
		set("change_type", changeType);
	}
	
	/**
	 * 异动类型(1-升级 2-降级)
	 */
	public java.lang.String getChangeType() {
		return getStr("change_type");
	}

	/**
	 * 创建时间
	 */
	public void setCreateTime(java.util.Date createTime) {
		set("create_time", createTime);
	}
	
	/**
	 * 创建时间
	 */
	public java.util.Date getCreateTime() {
		return get("create_time");
	}

	/**
	 * 变动原因
	 */
	public void setChangeReason(java.lang.String changeReason) {
		set("change_reason", changeReason);
	}
	
	/**
	 * 变动原因
	 */
	public java.lang.String getChangeReason() {
		return getStr("change_reason");
	}

}
